package com.wodsy.phoenix.datadao.sharedata.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.sharedata.dao.AreaDictDao;
import com.wodsy.phoenix.dataobject.base.Pager;
import com.wodsy.phoenix.dataobject.sharedata.model.AreaDict;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Property;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import java.util.Map;


@Repository("areaDictDao")
public class AreaDictDaoImpl extends BaseHibernateDao<AreaDict,Integer> implements AreaDictDao {

@Override
public Class<AreaDict> getModelClass() {
    return AreaDict.class;
    }


    @Override
    @Autowired
    @Qualifier(value="sharedata")
    public void setSessionFactory(SessionFactory sessionFactory) {
    this.sessionFactory = sessionFactory;
    }

    }
